/**
 * TetisDB
 *
 * Configuracao do TetisDomain
 */

package br.com.tetisdb.configure;

public class TConfigureDomain extends TConfigure implements TetisConfigureDomain {
    //nome do dominio
    private String nameDomain;    
    private int timeSnapShot; // em milisegundos
    
    public TConfigureDomain() {
        this.setTimeSnapShot(6000); //valor padrao
    }
    
    public TConfigureDomain(String nameDomain) {
        this.nameDomain = nameDomain;
        this.setTimeSnapShot(6000);
    }
    
    public TConfigureDomain(String nameDomain, int timeSnapShot) {
        this.nameDomain = nameDomain;
        this.setTimeSnapShot(timeSnapShot);
    }
    
    public String getNameDomain() {
        return nameDomain;
    }
    
    public int getTimeSnapShot() {
        return timeSnapShot;
    }
    
    public void setTimeSnapShot(int timeSnapShot) {
        this.timeSnapShot = timeSnapShot;
    }
}
